package com.ygqh.baby.mapper;
import com.ygqh.baby.po.YgPublishTag;
import com.ygqh.baby.po.YgPublishTagExample;
import com.ygqh.baby.ao.QueryInfo;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface YgPublishTagMapper {
    int countByExample(YgPublishTagExample example);

    int deleteByExample(YgPublishTagExample example);

    int deleteByPrimaryKey(Long id);

    int insert(YgPublishTag record);

    int insertSelective(YgPublishTag record);

    List<YgPublishTag> selectByExample(YgPublishTagExample example);

    YgPublishTag selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") YgPublishTag record, @Param("example") YgPublishTagExample example);

    int updateByExample(@Param("record") YgPublishTag record, @Param("example") YgPublishTagExample example);

    int updateByPrimaryKeySelective(YgPublishTag record);

    int updateByPrimaryKey(YgPublishTag record);
    
    int countSuper(@Param ("q") String q);
    
    List<YgPublishTag> selectSuper(@Param("queryInfo") QueryInfo queryInfo, @Param ("q") String q);
    
}



